home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2455 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.bridge.net!news
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: STL lists & queues
  5. Date: 17 Jan 1996 22:03:34 GMT
  6. Organization: self-employed
  7. Message-ID: <4djrnm$55@news.bridge.net>
  8. References: <DLC0BL.3x5@ddvictor.dundee.ATTGIS.COM>
  9. NNTP-Posting-Host: ppp-mia2-86.bridge.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15.  
  16. Don;
  17.  
  18. >>  I'm using STL with MSVC V4.0 on NT 
  19.  
  20.  
  21. Bear in mind that the HP STL is a prototype, with workarounds
  22. for Borland bugs only, and with features removed that Borland
  23. did not support.
  24.  
  25.  
  26. >> Is it possible to declare a list of list using something on the 
  27. >> lines of
  28.  
  29. >>        list< list < vector < char * > > > ll;
  30.  
  31. >>or is it
  32.  
  33. >>        list< list < char * > > ll;
  34. >>        list< char * > l;
  35.  
  36.  
  37. Both examples are perfectly valid STL, and they compile for me
  38. under Windows 95. What goes wrong with your compiler?
  39.  
  40. >> Is it possible to make STL work with NT shared memory
  41.  
  42. You can make it work with almost any kind of memory IF you design
  43. a valid "allocator class" for that memory. This contains
  44. information about the pointers, allocation functions, etc. 
  45. associated with that memory.
  46.  
  47.  
  48.                David
  49.  
  50.  
  51.  
  52.